<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <title>网站后台管理系统</title>
    <script type="text/javascript" src="http://localhost/chenxiangyu/system/js/jquery.min.js"></script>
    <!-- Bootstrap -->
    <link href="http://localhost/chenxiangyu/third/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <!-- HTML5 Shim and Respond.js IE8 flowers of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]]
    <script src="http://static.ebcms.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://static.ebcms.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script src="http://localhost/chenxiangyu/third/bootstrap/js/bootstrap.min.js"></script>
    <!-- artDialog -->
    <script type="text/javascript" src="http://localhost/chenxiangyu/third/artDialog/jquery.artDialog.js"></script>
    <link rel="stylesheet" type="text/css" href="http://localhost/chenxiangyu/third/artDialog/skins/default.css">
    <script type="text/javascript" src="http://localhost/chenxiangyu/third/artDialog/artDialog.ext.js"></script>

    <!-- 引入百度编辑器 -->
    <script type="text/javascript" src="http://localhost/chenxiangyu/third/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="http://localhost/chenxiangyu/third/ueditor/ueditor.all.js"></script>
    <!-- 引入webuploader -->
    <link rel="stylesheet" type="text/css" href="http://localhost/chenxiangyu/third/webuploader/webuploader.css">
    <script type="text/javascript" src="http://localhost/chenxiangyu/third/webuploader/webuploader.nolog.min.js"></script>

    <!-- 引入后台样式表 -->
    <link rel="stylesheet" type="text/css" href="http://localhost/chenxiangyu/system/css/admin.css">
    <script type="text/javascript" src="http://localhost/chenxiangyu/system/js/admin.js"></script>
</head>
<body>
<script>
    var _M = {};
    $(function(){
        _M.tijiao = function(){
            EBCMS.CORE.submit({
                url:'{$form.action}',
                form:'{$form.unique}Form',
                success:function(res){
                    if (res.code) {
                        artDialog.tips(res.msg||'处理完毕...',1);
                        setTimeout(function() {
                            history.go(-1);
                        }, 1000);
                    }else{
                        EBCMS.MSG.alert(res.msg);
                    }
                }
            });
        };
    });
</script>
<div class="container-fluid">
    <div class="row">
        <div class="col-md-12">
            <div style="border: 1px solid #ddd;padding: 10px 10px 20px 10px;margin: 15px 0;">
                <h3 style="margin: 10px;border-bottom: 1px solid #ddd;padding-bottom: 10px;">{$form.group}&nbsp;-&nbsp;{$form.title}</h3>
                {include file='ebcms@common/formmain' /}
                <table class="table table-form">
                    <tr>
                        <th></th>
                        <td>
                            <button type="button" class="btn btn-primary" onclick="_M.tijiao();">提交</button>
                            <button type="button" class="btn btn-default" onclick="history.go(-1);">返回</button>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</div>
{include file='ebcms@common/footer' /}